package com.lino.design;

/**
 * @description: 拦截器接口
 * @author: lingjian
 * @createDate: 2022/12/22 10:10
 */
public interface HandleInterceptor {

    /**
     * 拦截
     *
     * @param request  请求头
     * @param response 响应头
     * @param handler  拦截对象
     * @return 是否拦截成功
     */
    boolean preHandle(String request, String response, Object handler);
}
